package cn.hdu.liang.core.service.user;

import java.util.List;

import cn.itcast.common.page.Pagination;
import cn.hdu.liang.core.bean.user.Employee;
import cn.hdu.liang.core.query.user.EmployeeQuery;

public interface EmployeeService {

    public Integer addEmployee(Employee employee);

    public Employee getEmployeeByKey(String id);

    public List<Employee> getEmployeesByKeys(List<String> idList);

    public Integer deleteByKey(String id);

    public Integer deleteByKeys(List<String> idList);

    public Integer updateEmployeeByKey(Employee employee);

    public Pagination getEmployeeListWithPage(EmployeeQuery employeeQuery);

    public List<Employee> getEmployeeList(EmployeeQuery employeeQuery);
}
